package com.quanyan.place.entity;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PlaceBuyContractDetail implements Serializable {


    private Integer id;


    private Integer attractId;


    private Integer placeId;


    private Integer placeUnitId;

    private BigDecimal placeUnitPrice;

    private BigDecimal timePrice;  // 时段价格

    private Double placeUnitExpires;

    private String expiresUnit;

    private String dateRange;

    private String buyStartTime;

    private String buyEndTime;

    private Date finishDate;

    private int buyType;

    private int isPrimeTime;


    private List<PlaceBuyContractDetail> listDetail = new ArrayList<PlaceBuyContractDetail>();

    public List<PlaceBuyContractDetail> getListDetail() {
        return listDetail;
    }

    public void setListDetail(List<PlaceBuyContractDetail> listDetail) {
        this.listDetail = listDetail;
    }

    public int getIsPrimeTime() {
        return isPrimeTime;
    }

    public void setIsPrimeTime(int isPrimeTime) {
        this.isPrimeTime = isPrimeTime;
    }

    public int getBuyType() {
        return buyType;
    }

    public void setBuyType(int buyType) {
        this.buyType = buyType;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAttractId() {
        return attractId;
    }

    public void setAttractId(Integer attractId) {
        this.attractId = attractId;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getPlaceUnitId() {
        return placeUnitId;
    }

    public void setPlaceUnitId(Integer placeUnitId) {
        this.placeUnitId = placeUnitId;
    }

    public BigDecimal getPlaceUnitPrice() {
        return placeUnitPrice;
    }

    public void setPlaceUnitPrice(BigDecimal placeUnitPrice) {
        this.placeUnitPrice = placeUnitPrice;
    }

    public BigDecimal getTimePrice() {
        return timePrice;
    }

    public void setTimePrice(BigDecimal timePrice) {
        this.timePrice = timePrice;
    }

    public Double getPlaceUnitExpires() {
        return placeUnitExpires;
    }

    public void setPlaceUnitExpires(Double placeUnitExpires) {
        this.placeUnitExpires = placeUnitExpires;
    }

    public String getExpiresUnit() {
        return expiresUnit;
    }

    public void setExpiresUnit(String expiresUnit) {
        this.expiresUnit = expiresUnit;
    }

    public String getDateRange() {
        return dateRange;
    }

    public void setDateRange(String dateRange) {
        this.dateRange = dateRange;
    }

    public String getBuyStartTime() {
        return buyStartTime;
    }

    public void setBuyStartTime(String buyStartTime) {
        this.buyStartTime = buyStartTime;
    }

    public String getBuyEndTime() {
        return buyEndTime;
    }

    public void setBuyEndTime(String buyEndTime) {
        this.buyEndTime = buyEndTime;
    }

    public Date getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(Date finishDate) {
        this.finishDate = finishDate;
    }

    @Override
    public String toString() {
        return "PlaceBuyContractDetail{" +
                "id=" + id +
                ", attractId=" + attractId +
                ", placeId=" + placeId +
                ", placeUnitId=" + placeUnitId +
                ", placeUnitPrice=" + placeUnitPrice +
                ", placeUnitExpires=" + placeUnitExpires +
                ", expiresUnit='" + expiresUnit + '\'' +
                ", dateRange='" + dateRange + '\'' +
                ", buyStartTime='" + buyStartTime + '\'' +
                ", buyEndTime='" + buyEndTime + '\'' +
                ", finishDate=" + finishDate +
                ", buyType=" + buyType +
                '}';
    }
}